home *** CD-ROM | disk | FTP | other *** search
- /* AssignF10.rex */
- /* ------------- */
- /* Description: This script pops a file requester asking for an ARexx */
- /* script path. It will then assign it to the F10 key so */
- /* that the next time you hit F10, it will be executed. */
-
- options results
-
- address 'JCGRAPH'
-
- 'requestfile title=Assign_Script_to_F10 path=JcGraph:rexx'
-
- HisAssign=result
-
- if RC == 0 then do
- 'keyboard key=F10 cmd=' || HisAssign
- 'requestnotify F10 was assigned to ' HisAssign
- end